package com.yz.platform;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * 程序启动入口
 */
@SpringBootApplication
public class Boot extends SpringBootServletInitializer {

    public static void main(String[] args) {

        SpringApplication.run(Boot.class, args);


    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {

        return application.sources(Boot.class);
    }



}
